<form id="form2" name="form2" method="post" action="" com="add_table_field">
      <p>Tabellen Feld
        <input type = "text" name = "field" id="field" set_focus="true" />
      </p>
      <p> Typ <br />
        <label>
          <select id = "typ" name = "field_type" com="data_select" table="_field_type" field="field_type">
            
          </select>
        </label>
      </p>
      
      
      <!--<option value = "text">Text</option>
            <option value = "long_text">Langer Text</option>
            <option value = "number">Zahl</option>
            <option value = "rational_number">Komma Zahl</option>
            <option value = "email">eMail</option>
            <option value = "url">Url</option>
            <option value = "file">Datei</option>
            <option value = "image">Bild</option>
            <option value = "html">Html</option>
            <option value = "date">Datum</option>
            <option value = "time">Zeit</option>
            <option value = "checkbox">Ja/Nein</option>
            <option value = "join">Verknüpfungsfeld</option>-->
      
      
      
      
      
      <p>
        <label>
          <input name = "required" type = "checkbox" value = "1" />
          Required</label>
      </p>
      <p>
        <label>
          <input name = "unique_index" type = "checkbox" value = "1" id = "unique_index" />
          Unique Index</label>
      </p>
      <p>
        <label>
          <input name = "search_index" type = "checkbox" value = "1" />
          Search Index</label>
      </p>
      <p>
        <input type = "submit" value = "ok" />
        <input name = "table" type = "hidden" id="table" value = "[detail_table.table_name]" />
      </p>
    </form>